package com.zzs.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zzs
 * @date 2025/03/29
 */
@AllArgsConstructor
@Getter
public enum CodeSubmitStatus {
    PASS(0, "执行通过"),
    ERROR_ANSWER(1, "错误解答"),
    EXCEED_MEMORY(2, "超出内存限制"),
    EXCEED_TIME(3, "超出时间限制"),
    ERROR_COMPILE(4, "编译出错"),
    ERROR_RUN(5, "执行出错"),
    ERROR_SERVER(6, "服务器错误");
    private final int status;
    private final String message;
}
